<div class="row">
        <div class="col-md-12">
          <div class="widget">
            <div class="widget-head">
              <div class="pull-left">证书列表</div>
              <div class="widget-icons pull-right">
                  <div class="form-inline">
                      <button onclick="showAddLicensePanel()" class="btn btn-md btn-success examine_ban">新增证书</button>
                      <button onclick="importLicense()" class="btn btn-md btn-success examine_ban">导入证书</button>
                      <div class="form-group">
                          <input type="input" class="form-control" id="search-license" placeholder="请输入关键字">
                      </div>
                      <button onclick="searchLicense()" class="btn btn-md btn-primary" style="margin-left: 0px;">搜索</button>
                  </div>
              </div>
              <div class="clearfix"></div>
            </div>

            <div class="widget-content">

              <table class="table table-striped table-bordered table-hover" id="license_list">
                <thead>
                <tr>
                  <th>#</th>
                  <th>ID</th>
                  <th>证书类型</th>
                  <th>客户名称</th>
                  <th>支付信息</th>
                  <th>用户限制</th>
                  <th>过期时间</th>
                  <th>安装限制</th>
                  <th>创建时间</th>
                  <th>状态</th>
                  <th>安装信息</th>
                  <th>操作</th>
                </tr>
                </thead>
                <tbody>

                {{each list as value i}}
                  <tr index="{{i}}">
                  	<td>{{value.index}}</td>
                    <td>{{value.id}}</td>
                    <td>{{value.formatedType}}</td>
                    <td>{{value.customer}}</td>
                    <td>{{value.payInfo}}</td>
                    <td>{{value.usersCount}}</td>
                    <td>{{value.expireDate}}</td>
                    <td>{{value.count}}</td>
                    <td>{{value.createDate}}</td>
                    <td>{{value.formatedState}}</td>
                    <td>{{value.formatedInstallInfo}}</td>
                    <td class="edit">
                      <button onclick="downloadLicenseConfirm('{{value.id}}')" data-id="{{value.id}}" class="btn btn-lg btn-warning examine_ban">下载</button>
                      <button onclick="deperacateLicenseConfirm('{{value.id}}',{{value.pageIndex}})" data-id="{{value.id}}" class="btn btn-lg btn-warning examine_ban">作废</button>
                      <button onclick="delLicenseConfirm('{{value.id}}',{{value.pageIndex}},{{i}})" data-id="{{value.id}}" class="btn btn-lg btn-danger examine_ban"><i class="icon-remove"></i>删除</button>
                    </td>
                  </tr>
                {{/each}}
                </tbody>
              </table>

              <div class="widget-foot">
                  <!-- 组件footer，渲染分页插件 -->
                  <div id="licenseList-pagination" class="l-page"></div>

              </div>

            </div>
            <!-- Matter ends -->
          </div>
        </div>
      </div>
